package org.car.world.core.mapper;

import java.util.List;

import org.apache.catalina.LifecycleListener;
import org.apache.ibatis.annotations.Mapper;
import org.car.world.core.entily.TypeTable;

import io.lettuce.core.dynamic.annotation.Param;

@Mapper
public interface TypeTableMapper {
    int deleteByPrimaryKey(Integer typeId);

    int insert(TypeTable record);

    TypeTable selectByPrimaryKey(Integer typeId);

    List<TypeTable> selectAll();

    int updateByPrimaryKey(TypeTable record);

    List<TypeTable> selectlimit(@Param("form") Integer form, @Param("size") Integer size, @Param("typeName") String typeName);

    int selectconent();

    List<TypeTable> selectTname(@Param("typeName") String typeName);

    List<TypeTable> selectAllTypeName();

    List<TypeTable> selectAllidentify(String typeIdentify);
}